package api

import (
	"github.com/gogf/gf/net/ghttp"
	"github.com/gogf/gf/net/gtcp"
	"github.com/gogf/gf/os/glog"

)

var Hello = helloApi{}

type helloApi struct{}

// Index is a demonstration route handler for output "Hello World!".
func (*helloApi) Index(r *ghttp.Request) {
	// Client
	conn, err := gtcp.NewConn("127.0.0.1:9601")
	if err != nil {
		panic(err)
	}
	defer conn.Close()
	str := ",24,45,63,142,48,59,51,126,44*65\n$GLGSV,2,1,05,70,63,060,,76,56,119,39,79,,,35,65,29,055,31*54\n$GLGSV,2,2,05,88,25,215,*51\n$GNRMC,001735.500,A,2211.34103,N,11332.55864,E,0.00,225.75,110122,,,A*7E\n$GNVTG,225.75,T,,M,0.00,N,0.00,K,A*24\n$GPTXT,01,01,01,ANTENNA OK*35\n861213055928250$GNGGA,001736.000,2211.34103,N,11332.55863,E,1,27,0.6,48.2,M,0.0,M,,*46\n$GNGLL,2211.34103,N,11332.55863,E,001736.000,A,A*4E\n$GPGSA,A,3,05,12,15,18,24,25,32,193,194,195,199,,0.9,0.6,0.7*3A\n$BDGSA,A,3,01,04,07,08,19,21,22,34,35,36,38,40,0.9,0.6,0.7*21\n$GLGSA,A,3,76,65,,,,,,,,,,,0.9,0.6,0.7*24\n$GPGSV,4,1,14,05,06,122,20,10,34,329,,11,,,23,12,24,123,39*49\n$GPGSV,4,2,14,15,21,059,41,18,55,206,21,23,62,005,,24,53,039,30*73\n$GPGSV,4,3,14,25,19,161,41,32,22,280,21,193,53,057,35,194,41,119,41*73\n$GPGSV,4,4,14,195,22,168,40,199,60,148,39*7A\n$BDGSV,5,1,20,01,46,122,39,03,,,31,04,32,110,35,06,64,307,*54\n$BDGSV,5,2,20,07,12,179,31,08,79,182,29,09,60,273,,11,08,304,*64\n$BDGSV,5,3,20,16,64,323,,19,15,093,31,21,37,328,18,22,49,044,35*63\n$BDGSV,5,4,20,34,15,283,19,35,06,180,22,36,37,055,40,38,66,166,41*6A\n$BDGSV,5,5,20,39,62,336,,40,07,167,24,45,63,142,48,59,51,126,44*65\n$GLGSV,2,1,05,70,63,060,,76,56,119,39,79,,,35,65,29,055,31*54\n$GLGSV,2,2,05,88,25,215,*51\n$GNRMC,001736.000,A,2211.34103,N,11332.55863,E,0.00,225.75,110122,,,A*7F\n$GNVTG,225.75,T,,M,0.00,N,0.00,K,A*24\n$GPTXT,01,01,01,ANTENNA OK*35\n861213055928250$GNGGA,001736.500,2211.34102,N,11332.55863,E,1,27,0.6,48.2,M,0.0,M,,*42\n$GNGLL,2211.34102,N,11332.55863,E,001736.500,A,A*4A\n$GPGSA,A,3,05,12,15,18,24,25,32,193,194,195,199,,0.9,0.6,0.7*3A\n$BDGSA,A,3,01,04,07,08,19,21,22,34,35,36,38,40,0.9,0.6,0.7*21\n$GLGSA,A,3,76,65,,,,,,,,,,,0.9,0.6,0.7*24\n$GPGSV,4,1,14,05,06,122,20,10,34,329,,11,,,23,12,24,123,39*49\n$GPGSV,4,2,14,15,21,059,41,18,55,206,19,23,62,005,,24,53,039,30*78\n$GPGSV,4,3,14,25,19,161,41,32,22,280,21,193,53,057,35,194,41,119,41*73\n$GPGSV,4,4,14,195,22,168,40,199,60,148,39*7A\n$BDGSV,5,1,20,01,46,122,39,03,,,31,04,32,110,35,06,64,307,*54\n$BDGSV,5,2,20,07,12,179,31,08,79,182,29,09,60,273,,11,08,304,*64\n$BDGSV,5,3,20,16,64,323,,19,15,093,31,21,37,328,18,22,49,044,35*63\n$BDGSV,5,4,20,34,15,283,19,35,06,180,22,36,37,055,40,38,66,166,41*6A\n$BDGSV,5,5,20,39,62,336,,40,07,167,24,45,63,142,48,59,51,126,44*65\n$GLGSV,2,1,05,70,63,060,,76,56,119,39,79,,,35,65,29,055,31*54\n$GLGSV,2,2,05,88,25,215,*51\n$GNRMC,001736.500,A,2211.34102,N,11332.55863,E,0.00,225.75,110122,,,A*7B\n$GNVTG,225.75,T,,M,0.00,N,0.00,K,A*24\n$GPTXT,01,01,01,ANTENNA OK*35\n861213055928250$GNGGA,001737.000,2211.34102,N,11332.55863,E,1,27,0.6,48.2,M,0.0,M,,*46\n$GNGLL,2211.34102,N,11332.55863,E,001737.000,A,A*4E\n$GPGSA,A,3,05,12,15,18,24,25,32,193,194,195,199,,0.9,0.6,0.7*3A\n$BDGSA,A,3,01,04,07,08,19,21,22,34,35,36,38,40,0.9,0.6,0.7*21\n$GLGSA,A,3,76,65,,,,,,,,,,,0.9,0.6,0.7*24\n$GPGSV,4,1,14,05,06,122,20,10,34,329,,11,,,23,12,24,123,39*49\n$GPGSV,4,2,14,15,21,059,41,18,55,206,19,23,62,005,,24,53,039,30*78\n$GPGSV,4,3,14,25,19,161,41,32,22,280,21,193,53,057,35,194,41,119,41*73\n$GPGSV,4,4,14,195,22,168,40,199,60,148,39*7A\n$BDGSV,5,1,20,01,46,122,39,03,,,31,04,32,110,35,06,64,307,*54\n$BDGSV,5,2,20,07,12,179,31,08,79,182,29,09,60,273,,11,08,304,*64\n$BDGSV,5,3,20,16,64,323,,19,15,093,31,21,37,328,18,22,49,044,35*63\n$BDGSV,5,4,20,34,15,283,19,35,06,180,22,36,37,055,40,38,66,166,41*6A\n$BDGSV,5,5,20,39,62,336,,40,07,167,24,45,63,142,48,59,51,126,44*65\n$GLGSV,2,1,05,70,63,060,,76,56,119,39,79,,,35,65,29,055,31*54\n$GLGSV,2,2,05,88,25,215,*51\n$GNRMC,001737.000,A,2211.34102,N,11332.55863,E,0.00,225.75,110122,,,A*7F\n$GNVTG,225.75,T,,M,0.00,N,0.00,K,A*24\n$GPTXT,01,01,01,ANTENNA OK*35\n861213055928250$GNGGA,001737.500,2211.34102,N,11332.55862,E,1,27,0.6,48.2,M,0.0,M,,*42\n$GNGLL,2211.34102,N,11332.55862,E,001737.500,A,A*4A\n$GPGSA,A,3,05,12,15,18,24,25,32,193,194,195,199,,0.9,0.6,0.7*3A\n$BDGSA,A,3,01,04,07,08,19,21,22,34,35,36,38,40,0.9,0.6,0.7*21\n$GLGSA,A,3,76,65,,,,,,,,,,,0.9,0.6,0.7*24\n$GPGSV,4,1,14,05,06,122,20,10,34,329,,11,,,23,12,24,123,39*49\n$GPGSV,4,2,14,15,21,059,41,18,55,206,19,23,62,005,,24,53,039,30*78\n$GPGSV,4,3,14,25,19,161,41,32,22,280,21,193,53,057,35,194,41,119,41*73\n$GPGSV,4,4,14,195,22,168,40,199,60,148,39*7A\n$BDGSV,5,1,20,01,46,122,39,03,,,31,04,32,110,35,06,64,307,*54\n$BDGSV,5,2,20,07,12,179,31,08,79,182,29,09,60,273,,11,08,304,*64\n$BDGSV,5,3,20,16,64,323,,19,15,093,31,21,37,328,18,22,49,044,35*63\n$BDGSV,5,4,20,34,15,283,19,35,06,180,22,36,37,055,40,38,66,166,41*6A\n$BDGSV,5,5,20,39,62,336,,40,07,167,24,45,63,142,48,59,51,126,44*65\n$GLGSV,2,1,05,70,63,060,,76,56,119,39,79,,,35,65,29,055,31*54\n$GLGSV,2,2,05,88,25,215,*51\n$GNRMC,001737.500,A,2211.34102,N,11332.55862,E,0.00,225.75,110122,,,A*7B\n$GNVTG,225.75,T,,M,0.00,N,0.00,K,A*24\n$GPTXT,01,01,01,ANTENNA OK*35\n861213055928250$GNGGA,001738.000,2211.34102,N,11332.55862,E,1,27,0.6,48.2,M,0.0,M,,*48\n$GNGLL,2211.34102,N,11332.55862,E,001738.000,A,A*40\n$GPGSA,A,3,05,12,15,18,24,25,32,193,194,195,199,,0.9,0.6,0.7*3A\n$BDGSA,A,3,01,04,07,08,19,21,22,34,35,36,38,40,0.9,0.6,0.7*21\n$GLGSA,A,3,76,65,,,,,,,,,,,0.9,0.6,0.7*24\n$GPGSV,4,1,14,05,06,122,20,10,34,329,,11,,,23,12,24,123,39*49\n$GPGSV,4,2,14,15,21,059,41,18,55,206,19,23,62,005,,24,53,039,30*78\n$GPGSV,4,3,14,25,19,161,41,32,22,280,21,193,53,057,35,194,41,119,41*73\n$GPGSV,4,4,14,195,22,168,40,199,60,148,39*7A\n$BDGSV,5,1,20,01,46,122,39,03,,,31,04,32,110,35,06,64,307,*54\n$BDGSV,5,2,20,07,12,179,31,08,79,182,29,09,60,273,,11,08,304,*64\n$BDGSV,5,3,20,16,64,323,,19,15,093,31,21,37,328,18,22,49,044,35*63\n$BDGSV,5,4,20,34,15,283,19,35,06,180,22,36,37,055,40,38,66,166,41*6A\n$BDGSV,5,5,20,39,62,336,,40,07,167,24,45,63,142,48,59,51,126,44*65\n$GLGSV,2,1,05,70,63,060,,76,56,119,39,79,,,35,65,29,055,31*54\n$GLGSV,2,2,05,88,25,215,*51\n$GNRMC,001738.000,A,2211.34102,N,11332.55862,E,0.00,225.75,110122,,,A*71\n$GNVTG,225.75,T,,M,0.00,N,0.00,K,A*24\n$GPTXT,01,01,01,ANTENNA OK*35\n861213055928250$GNGGA,001738.500,2211.34102,N,11332.55862,E,1,27,0.6,48.2,M,0.0,M,,*4D\n$GNGLL,2211.34102,N,11332.55862,E,001738.500,A,A*45\n$GPGSA,A,3,05,12,15,18,24,25,32,193,194,195,199,,0.9,0.6,0.7*3A\n$BDGSA,A,3,01,04,07,08,19,21,22,34,35,36,38,40,0.9,0.6,0.7*21\n$GLGSA,A,3,76,65,,,,,,,,,,,0.9,0.6,0.7*24\n$GPGSV,4,1,14,05,06,122,20,10,34,329,,11,,,23,12,24,123,39*49\n$GPGSV,4,2,14,15,21,059,41,18,55,206,19,23,62,005,,24,53,039,31*79\n$GPGSV,4,3,14,25,19,161,41,32,22,280,21,193,53,057,35,194,41,119,41*73\n$GPGSV,4,4,14,195,22,168,40,199,60,148,39*7A\n$BDGSV,5,1,20,01,46,122,39,03,,,31,04,32,110,35,06,64,307,*54\n$BDGSV,5,2,20,07,12,179,31,08,79,182,29,09,60,273,,11,08,304,*64\n$BDGSV,5,3,20,16,64,323,,19,15,093,31,21,37,328,18,22,49,044,35*63\n$BDGSV,5,4,20,34,15,283,19,35,06,180,22,36,37,055,40,38,66,166,40*6B\n$BDGSV,5,5,20,39,62,336,,40,07,167,24,45,63,142,48,59,51,126,44*65\n$GLGSV,2,1,05,70,63,060,,76,56,119,39,79,,,35,65,29,055,31*54\n$GLGSV,2,2,05,88,25,215,*51\n$GNRMC,001738.500,A,2211.34102,N,11332.55862,E,0.00,225.75,110122,,,A*74\n$GNVTG,225.75,T,,M,0.00,N,0.00,K,A*24\n$GPTXT,01,01,01,ANTENNA OK*35\n861213055928250$GNGGA,001739.000,2211.34102,N,11332.55861,E,1,27,0.6,48.2,M,0.0,M,,*4A\n$GNGLL,2211.34102,N,11332.55861,E,001739.000,A,A*42\n$GPGSA,A,3,05,12,15,18,24,25,32,193,194,195,199,,0.9,0.6,0.7*3A\n$BDGSA,A,3,01,04,07,08,19,21,22,34,35,36,38,40,0.9,0.6,0.7*21\n$GLGSA,A,3,76,65,,,,,,,,,,,0.9,0.6,0.7*24\n$GPGSV,4,1,14,05,06,122,20,10,34,329,,11,,,23,12,24,123,39*49\n$GPGSV,4,2,14,15,21,059,41,18,55,206,19,23,62,005,,24,53,039,31*79\n$GPGSV,4,3,14,25,19,161,40,32,22,280,21,193,53,057,35,194,41,119,41*72\n$GPGSV,4,4,14,195,22,168,40,199,60,148,39*7A\n$BDGSV,5,1,20,01,46,122,39,03,,,31,04,32,110,35,06,64,307,*54\n$BDGSV,5,2,20,07,12,179,31,08,79,182,29,09,60,273,,11,08,304,*64\n$BDGSV,5,3,20,16,64,323,,19,15,093,31,21,37,328,18,22,49,044,35*63\n$BDGSV,5,4,20,34,15,283,19,35,06,180,22,36,37,055,40,38,66,166,40*6B\n$BDGSV,5,5,20,39,62,336,,40,07,167,24,45,63,142,47,59,51,126,44*6A\n$GLGSV,2,1,05,70,63,060,17,76,56,119,39,79,,,35,65,29,055,31*52\n$GLGSV,2,2,05,88,25,215,*51\n$GNRMC,001739.000,A,2211.34102,N,11332.55861,E,0.00,225.75,110122,,,A*73\n$GNVTG,225.75,T,,M,0.00,N,0.00,K,A*24\n$GPTXT,01,01,01,ANTENNA OK*35\n861213055928250$GNGGA,001739.500,2211.34101,N,11332.55861,E,1,27,0.6,48.2,M,0.0,M,,*4C\n$GNGLL,2211.34101,N,11332.55861,E,001739.500,A,A*44\n$GPGSA,A,3,05,12,15,18,24,25,32,193,194,195,199,,0.9,0.6,0.7*3A\n$BDGSA,A,3,01,04,07,08,19,21,22,34,35,36,38,40,0.9,0.6,0.7*21\n$GLGSA,A,3,76,65,,,,,,,,,,,0.9,0.6,0.7*24\n$GPGSV,4,1,14,05,06,122,22,10,34,329,,11,,,23,12,24,123,39*4B\n$GPGSV,4,2,14,15,21,059,41,18,55,206,19,23,62,005,,24,53,039,31*79\n$GPGSV,4,3,14,25,19,161,40,32,22,280,17,193,53,057,35,194,41,119,41*77\n$GPGSV,4,4,14,195,22,168,40,199,60,148,39*7A\n$BDGSV,5,1,20,01,46,122,39,03,,,31,04,32,110,35,06,64,307,*54\n$BDGSV,5,2,20,07,12,179,31,08,79,182,29,09,60,273,,11,08,304,*64\n$BDGSV,5,3,20,16,64,323,,19,15,093,31,21,37,328,18,22,49,044,35*63\n$BDGSV,5,4,20,34,15,283,19,35,06,180,22,36,37,055,40,38,66,166,40*6B\n$BDGSV,5,5,20,39,62,336,,40,07,167,27,45,63,142,47,59,51,126,44*69\n$GLGSV,2,1,05,70,63,060,17,76,56,119,38,79,,,35,65,29,055,31*53\n$GLGSV,2,2,05,88,25,215,*51\n$GNRMC,001739.500,A,2211.34101,N,11332.55861,E,0.00,225.75,110122,,,A*75\n$GNVTG,225.75,T,,M,0.00,N,0.00,K,A*24\n$GPTXT,01,01,01,ANTENNA OK*35\n861213055928250$GNGGA,001740.000,2211.34101,N,11332.55861,E,1,27,0.6,48.2,M,0.0,M,,*47\n$GNGLL,2211.34101,N,11332.55861,E,001740.000,A,A*4F\n$GPGSA,A,3,05,12,15,18,24,25,32,193,194,195,199,,0.9,0.6,0.7*3A\n$BDGSA,A,3,01,04,07,08,19,21,22,34,35,36,38,40,0.9,0.6,0.7*21\n$GLGSA,A,3,76,65,,,,,,,,,,,0.9,0.6,0.7*24\n$GPGSV,4,1,14,05,06,122,22,10,34,329,,11,,,23,12,24,123,39*4B\n$GPGSV,4,2,14,15,21,059,41,18,55,206,19,23,62,005,,24,53,039,31*79\n$GPGSV,4,3,14,25,19,161,40,32,22,280,17,193,53,057,35,194,41,119,41*77\n$GPGSV,4,4,14,195,22,168,40,199,60,148,39*7A\n$BDGSV,5,1,20,01,46,122,39,03,,,31,04,32,110,35,06,64,307,*54\n$BDGSV,5,2,20,07,12,179,31,08,79,182,29,09,60,273,,11,08,304,*64\n$BDGSV,5,3,20,16,64,323,,19,15,093,31,21,37,328,18,22,49,044,35*63\n$BDGSV,5,4,20,34,15,283,19,35,06,180,22,36,37,055,40,38,66,166,40*6B\n$BDGSV,5,5,20,39,62,336,,40,07,167,27,45,63,142,47,59,51,126,44*69\n$GLGSV,2,1,05,70,63,060,17,76,56,119,38,79,,,35,65,29,055,31*53\n$GLGSV,2,2,05,88,25,215,*51\n$GNRMC,001740.000,A,2211.34101,N,11332.55861,E,0.00,225.75,110122,,,A*7E\n$GNVTG,225.75,T,,M,0.00,N,0.00,K,A*24\n$GPTXT,01,01,01,ANTENNA OK*35\n861213055928250$GNGGA,001740.500,2211.34101,N,11332.55860,E,1,27,0.6,48.2,M,0.0,M,,*43\n$GNGLL,2211.34101,N,11332.55860,E,001740.500,A,A*4B\n$GPGSA,A,3,05,12,15,18,24,25,32,193,194,195,199,,0.9,0.6,0.7*3A\n$BDGSA,A,3,01,04,07,08,19,21,22,34,35,36,38,40,0.9,0.6,0.7*21\n$GLGSA,A,3,76,65,,,,,,,,,,,0.9,0.6,0.7*24\n$GPGSV,4,1,14,05,06,122,27,10,34,329,,11,,,23,12,24,123,39*4E\n$GPGSV,4,2,14,15,21,059,41,18,55,206,19,23,62,005,,24,53,039,31*79\n$GPGSV,4,3,14,25,19,161,40,32,22,280,17,193,53,057,35,194,41,119,41*77\n$GPGSV,4,4,14,195,22,168,40,199,60,148,39*7A\n$BDGSV,5,1,20,01,46,122,39,03,,,31,04,32,110,35,06,64,307,*54\n$BDGSV,5,2,20,07,12,179,31,08,79,182,29,09,60,273,,11,08,303,*63\n$BDGSV,5,3,20,16,64,323,,19,15,093,31,21,37,328,18,22,49,044,34*62\n$BDGSV,5,4,20,34,15,283,19,35,06,180,22,36,37,055,40,38,66,166,40*6B\n$BDGSV,5,5,20,39,62,336,,40,07,167,27,45,63,142,47,59,51,126,44*69\n$GLGSV,2,1,05,70,63,060,17,76,56,119,38,79,,,35,65,29,055,31*53\n$GLGSV,2,2,05,88,25,215,*51\n$GNRMC,001740.500,A,2211.34101,N,11332.55860,E,0.00,225.75,110122,,,A*7A\n$GNVTG,225.75,T,,M,0.00,N,0.00,K,A*24\n$GPTXT,01,01,01,ANTENNA OK*35\n861213055928250$GNGGA,001741.000,2211.34101,N,11332.55860,E,1,27,0.6,48.2,M,0.0,M,,*47\n$GNGLL,2211.34101,N,11332.55860,E,001741.000,A,A*4F\n$GPGSA,A,3,05,12,15,18,24,25,32,193,194,195,199,,0.9,0.6,0.7*3A\n$BDGSA,A,3,01,04,07,08,19,21,22,34,35,36,38,40,0.9,0.6,0.7*21\n$GLGSA,A,3,76,65,,,,,,,,,,,0.9,0.6,0.7*24\n$GPGSV,4,1,14,05,06,122,27,10,34,329,,11,,,23,12,24,123,39*4E\n$GPGSV,4,2,14,15,21,059,41,18,55,206,19,23,62,005,,24,53,039,31*79\n$GPGSV,4,3,14,25,19,161,41,32,22,280,17,193,53,057,35,194,41,119,41*76\n$GPGSV,4,4,14,195,22,168,40,199,60,148,39*7A\n$BDGSV,5,1,20,01,46,122,39,03,,,31,04,32,110,35,06,64,307,*54\n$BDGSV,5,2,20,07,12,179,31,08,79,182,29,09,60,273,,11,08,303,*63\n$BDGSV,5,3,20,16,64,323,,19,15,093,31,21,37,328,18,22,49,044,34*62\n$BDGSV,5,4,20,34,15,283,17,35,06,180,22,36,37,055,39,38,66,166,40*6B\n$BDGSV,5,5,20,39,62,336,,40,07,167,27,45,63,142,48,59,51,126,44*66\n$GLGSV,2,1,05,70,63,060,17,76,56,119,38,79,,,35,65,29,055,31*53\n$GLGSV,2,2,05,88,25,215,*51\n$GNRMC,001741.000,A,2211.34101,N,11332.55860,E,0.00,225.75,110122,,,A*7E\n$GNVTG,225.75,T,,M,0.00,N,0.00,K,A*24\n$GPTXT,01,01,01,ANTENNA OK*35\n861213055928250$GNGGA,001741.500,2211.34101,N,11332.55860,E,1,27,0.6,48.2,M,0.0,M,,*42\n$GNGLL,2211.34101,N,11332.55860,E,001741.500,A,A*4A\n$GPGSA,A,3,05,12,15,18,24,25,32,193,194,195,199,,0.9,0.6,0.7*3A\n$BDGSA,A,3,01,04,07,08,19,21,22,34,35,36,38,40,0.9,0.6,0.7*21\n$GLGSA,A,3,76,65,,,,,,,,,,,0.9,0.6,0.7*24\n$GPGSV,4,1,14,05,06,122,27,10,34,329,,11,,,23,12,24,123,39*4E\n$GPGSV,4,2,14,15,21,059,42,18,55,206,19,23,62,006,,24,53,039,31*79\n$GPGSV,4,3,14,25,19,161,41,32,22,280,17,193,53,057,35,194,41,119,41*76\n$GPGSV,4,4,14,195,22,168,40,199,60,148,39*7A\n$BDGSV,5,1,20,01,46,122,39,03,,,31,04,32,110,35,06,64,307,*54\n$BDGSV,5,2,20,07,12,179,31,08,79,182,29,09,60,273,,11,08,303,*63\n$BDGSV,5,3,20,16,64,323,,19,15,093,31,21,37,328,18,22,49,044,34*62\n$BDGSV,5,4,20,34,15,283,17,35,06,180,22,36,37,055,39,38,66,166,40*6B\n$BDGSV,5,5,20,39,62,336,,40,07,167,27,45,63,142,48,59,51,126,44*66\n$GLGSV,2,1,05,70,63,060,17,76,56,119,38,79,,,35,65,29,055,31*53\n$GLGSV,2,2,05,88,25,215,*51\n$GNRMC,001741.500,A,2211.34101,N,11332.55860,E,0.00,225.75,110122,,,A*7B\n$GNVTG,225.75,T,,M,0.00,N,0.00,K,A*24\n$GPTXT,01,01,01,ANTENNA OK*35\n8612130559282 \n2022-01-10 19:20:47.409 [INFO] receive data:  $GNGGA,001742.000,2211.34101,N,11332.55860,E,1,27,0.6,48.2,M,0.0,M,,*44\n$GNGLL,2211.34101,N,11332.55860,E,001742.000,A,A*4C\n$GPGSA,A,3,05,12,15,18,24,25,32,193,194,195,199,,0.9,0.6,0.7*3A\n$BDGSA,A,3,01,04,07,08,19,21,22,34,35,36,38,40,0.9,0.6,0.7*21\n$GLGSA,A,3,76,65,,,,,,,,,,,0.9,0.6,0.7*24\n$GPGSV,4,1,14,05,06,122,27,10,34,329,,11,,,23,12,24,123,40*40\n$GPGSV,4,2,14,15,21,059,42,18,55,206,19,23,62,006,,24,53,039,31*79\n$GPGSV,4,3,14,25,19,161,41,32,22,280,17,193,53,057,35,194,41,119,41*76\n$GPGSV,4,4,14,195,22,168,40,199,60,148,39*7A\n$BDGSV,5,1,20,01,46,122,39,03,,,31,04,32,110,35,06,64,307,*54\n$BDGSV,5,2,20,07,12,179,31,08,79,182,29,09,60,273,,11,08,303,*63\n$BDGSV,5,3,20,16,64,323,,19,15,093,31,21,37,328,18,22,49,044,34*62\n$BDGSV,5,4,20,34,15,283,17,35,06,180,22,36,37,055,39,38,66,166,40*6B\n$BDGSV,5,5,20,39,62,336,,40,07,167,27,45,63,142,48,59,51,126,44*66\n$GLGSV,2,1,05,70,63,060,,76,56,119,38,79,,,35,65,29,055,31*55\n$GLGSV,2,2,05,88,25,215,*51\n$GNRMC,001742.000,A,2211.34101,N,11332.55860,E,0.00,225.75,110122,,,A*7D\n$GNVTG,225.75,T,,M,0.00,N,0.00,K,A*24\n$GPTXT,01,01,01,ANTENNA OK*35\n861213055928250$GNGGA,001742.500,2211.34101,N,11332.55860,E,1,27,0.6,48.2,M,0.0,M,,*41\n$GNGLL,2211.34101,N,11332.55860,E,001742.500,A,A*49\n$GPGSA,A,3,05,12,15,18,24,25,32,193,194,195,199,,0.9,0.6,0.7*3A\n$BDGSA,A,3,01,04,07,08,19,21,22,34,35,36,38,40,0.9,0.6,0.7*21\n$GLGSA,A,3,76,65,,,,,,,,,,,0.9,0.6,0.7*24\n$GPGSV,4,1,14,05,06,122,27,10,34,329,,11,,,23,12,24,123,40*40\n$GPGSV,4,2,14,15,21,059,42,18,55,206,19,23,62,006,,24,53,039,31*79\n$GPGSV,4,3,14,25,19,161,41,32,22,280,17,193,53,057,35,194,41,119,41*76\n$GPGSV,4,4,14,195,22,168,40,199,60,148,39*7A\n$BDGSV,5,1,20,01,46,122,39,03,,,31,04,32,110,35,06,64,307,*54\n$BDGSV,5,2,20,07,12,179,31,08,79,182,29,09,60,273,,11,08,303,*63\n$BDGSV,5,3,20,16,64,323,,19,15,093,31,21,37,328,18,22,49,044,34*62\n$BDGSV,5,4,20,34,15,283,17,35,06,180,22,36,37,055,39,38,66,166,40*6B\n$BDGSV,5,5,20,39,62,336,,40,07,167,27,45,63,142,48,59,51,126,44*66\n$GLGSV,2,1,05,70,63,060,,76,56,119,38,79,,,35,65,29,055,31*55\n$GLGSV,2,2,05,88,25,215,*51\n$GNRMC,001742.500,A,2211.34101,N,11332.55860,E,0.00,225.75,110122,,,A*78\n$GNVTG,225.75,T,,M,0.00,N,0.00,K,A*24\n$GPTXT,01,01,01,ANTENNA OK*35\n861213055928250$GNGGA,001743.000,2211.34100,N,11332.55860,E,1,27,0.6,48.2,M,0.0,M,,*44\n$GNGLL,2211.34100,N,11332.55860,E,001743.000,A,A*4C\n$GPGSA,A,3,05,12,15,18,24,25,32,193,194,195,199,,0.9,0.6,0.7*3A\n$BDGSA,A,3,01,04,07,08,19,21,22,34,35,36,38,40,0.9,0.6,0.7*21\n$GLGSA,A,3,76,65,,,,,,,,,,,0.9,0.6,0.7*24\n$GPGSV,4,1,14,05,06,122,27,10,34,329,,11,,,23,12,24,123,40*40\n$GPGSV,4,2,14,15,21,059,41,18,55,206,19,23,62,006,,24,53,039,31*7A\n$GPGSV,4,3,14,25,19,161,41,32,22,280,17,193,53,057,35,194,41,119,41*76\n$GPGSV,4,4,14,195,22,168,40,199,60,148,39*7A\n$BDGSV,5,1,20,01,46,122,39,03,,,31,04,32,110,35,06,64,307,*54\n$BDGSV,5,2,20,07,12,179,31,08,79,182,29,09,60,273,,11,08,303,*63\n$BDGSV,5,3,20,16,64,323,,19,15,093,31,21,37,328,18,22,49,044,34*62\n$BDGSV,5,4,20,34,15,283,17,35,06,180,22,36,37,055,39,38,66,166,40*6B\n$BDGSV,5,5,20,39,62,336,,40,07,167,28,45,63,142,48,59,51,126,44*69\n$GLGSV,2,1,05,70,63,060,,76,56,119,38,79,,,35,65,29,055,31*55\n$GLGSV,2,2,05,88,25,215,*51\n$GNRMC,001743.000,A,2211.34100,N,11332.55860,E,0.00,225.75,110122,,,A*7D\n$GNVTG,225.75,T,,M,0.00,N,0.00,K,A*24\n$GPTXT,01,01,01,ANTENNA OK*35\n861213055928250$GNGGA,001743.500,2211.34101,N,11332.55860,E,1,27,0.6,48.2,M,0.0,M,,*40\n$GNGLL,2211.34101,N,11332.55860,E,001743.500,A,A*48\n$GPGSA,A,3,05,12,15,18,24,25,32,193,194,195,199,,0.9,0.6,0.7*3A\n$BDGSA,A,3,01,04,07,08,19,21,22,34,35,36,38,40,0.9,0.6,0.7*21\n$GLGSA,A,3,76,65,,,,,,,,,,,0.9,0.6,0.7*24\n$GPGSV,4,1,14,05,06,122,27,10,34,329,,11,,,23,12,24,123,40*40\n$GPGSV,4,2,14,15,21,059,41,18,55,206,19,23,62,006,,24,53,039,31*7A\n$GPGSV,4,3,14,25,19,161,41,32,22,280,17,193,53,057,35,194,41,119,41*76\n$GPGSV,4,4,14,195,22,168,40,199,60,148,39*7A\n$BDGSV,5,1,20,01,46,122,39,03,,,31,04,32,110,35,06,64,307,*54\n$BDGSV,5,2,20,07,12,179,31,08,79,182,29,09,60,273,,11,08,303,*63\n$BDGSV,5,3,20,16,64,323,,19,15,093,31,21,37,328,18,22,49,044,34*62\n$BDGSV,5,4,20,34,15,283,17,35,06,180,20,36,37,055,39,38,66,166,41*68\n$BDGSV,5,5,20,39,62,336,,40,07,167,28,45,63,142,47,59,51,126,44*66\n$GLGSV,2,1,05,70,63,060,,76,56,119,38,79,,,34,65,29,055,30*55\n$GLGSV,2,2,05,88,25,215,*51\n$GNRMC,001743.500,A,2211.34101,N,11332.55860,E,0.00,225.75,110122,,,A*79\n$GNVTG,225.75,T,,M,0.00,N,0.00,K,A*24\n$GPTXT,01,01,01,ANTENNA OK*35\n861213055928250$GNGGA,001744.000,2211.34101,N,11332.55860,E,1,27,0.6,48.2,M,0.0,M,,*42\n$GNGLL,2211.34101,N,11332.55860,E,001744.000,A,A*4A\n$GPGSA,A,3,05,12,15,18,24,25,32,193,194,195,199,,0.9,0.6,0.7*3A\n$BDGSA,A,3,01,04,07,08,19,21,22,34,35,36,38,40,0.9,0.6,0.7*21\n$GLGSA,A,3,76,65,,,,,,,,,,,0.9,0.6,0.7*24\n$GPGSV,4,1,14,05,06,122,27,10,34,329,,11,,,23,12,24,123,40*40\n$GPGSV,4,2,14,15,21,059,41,18,55,206,19,23,62,006,,24,53,039,31*7A\n$GPGSV,4,3,14,25,19,161,41,32,22,280,17,193,53,057,35,194,41,119,41*76\n$GPGSV,4,4,14,195,22,168,40,199,60,148,39*7A\n$BDGSV,5,1,20,01,46,122,39,03,,,31,04,32,110,35,06,64,307,*54\n$BDGSV,5,2,20,07,12,179,31,08,79,182,29,09,60,273,,11,08,303,*63\n$BDGSV,5,3,20,16,64,323,,19,15,093,31,21,37,328,18,22,49,044,34*62\n$BDGSV,5,4,20,34,15,283,17,35,06,180,20,36,37,055,39,38,66,166,41*68\n$BDGSV,5,5,20,39,62,336,,40,07,167,28,45,63,142,47,59,51,126,44*66\n$GLGSV,2,1,05,70,63,060,,76,56,119,38,79,,,34,65,29,055,30*55\n$GLGSV,2,2,05,88,25,215,*51\n$GNRMC,001744.000,A,2211.34101,N,11332.55860,E,0.00,225.75,110122,,,A*7B\n$GNVTG,225.75,T,,M,0.00,N,0.00,K,A*24\n$GPTXT,01,01,01,ANTENNA OK*35\n861213055928250$GNGGA,001744.500,2211.34101,N,11332.55860,E,1,27,0.6,48.2,M,0.0,M,,*47\n$GNGLL,2211.34101,N,11332.55860,E,001744.500,A,A*4F\n$GPGSA,A,3,05,12,15,18,24,25,32,193,194,195,199,,0.9,0.6,0.7*3A\n$BDGSA,A,3,01,04,07,08,19,21,22,34,35,36,38,40,0.9,0.6,0.7*21\n$GLGSA,A,3,76,65,,,,,,,,,,,0.9,0.6,0.7*24\n$GPGSV,4,1,14,05,06,122,27,10,34,329,,11,,,23,12,24,123,40*40\n$GPGSV,4,2,14,15,21,059,41,18,55,206,19,23,62,006,,24,53,039,31*7A\n$GPGSV,4,3,14,25,19,161,41,32,22,280,17,193,53,057,35,194,41,119,41*76\n$GPGSV,4,4,14,195,22,168,40,199,60,148,39*7A\n$BDGSV,5,1,20,01,46,122,39,03,,,31,04,32,110,35,06,64,307,*54\n$BDGSV,5,2,20,07,12,179,31,08,79,182,29,09,60,273,,11,08,303,*63\n$BDGSV,5,3,20,16,64,323,,19,15,093,31,21,37,328,18,22,49,044,34*62\n$BDGSV,5,4,20,34,15,283,17,35,06,180,25,36,37,055,39,38,66,166,41*6D\n$BDGSV,5,5,20,39,62,336,,40,07,167,28,45,63,142,47,59,51,126,44*66\n$GLGSV,2,1,05,70,63,060,,76,56,119,38,79,,,34,65,29,055,30*55\n$GLGSV,2,2,05,88,25,215,*51\n$GNRMC,001744.500,A,2211.34101,N,11332.55860,E,0.00,225.75,110122,,,A*7E\n$GNVTG,225.75,T,,M,0.00,N,0.00,K,A*24\n$GPTXT,01,01,01,ANTENNA OK*35\n861213055928250$GNGGA,001745.000,2211.34101,N,11332.55860,E,1,27,0.6,48.2,M,0.0,M,,*43\n$GNGLL,2211.34101,N,11332.55860,E,001745.000,A,A*4B\n$GPGSA,A,3,05,12,15,18,24,25,32,193,194,195,199,,0.9,0.6,0.7*3A\n$BDGSA,A,3,01,04,07,08,19,21,22,34,35,36,38,40,0.9,0.6,0.7*21\n$GLGSA,A,3,76,65,,,,,,,,,,,0.9,0.6,0.7*24\n$GPGSV,4,1,14,05,06,122,27,10,34,329,,11,,,23,12,24,123,40*40\n$GPGSV,4,2,14,15,21,059,40,18,55,206,19,23,62,006,,24,53,039,31*7B\n$GPGSV,4,3,14,25,19,161,41,32,22,280,17,193,53,057,35,194,41,119,41*76\n$GPGSV,4,4,14,195,22,168,40,199,60,148,39*7A\n$BDGSV,5,1,20,01,46,122,39,03,,,31,04,32,110,35,06,64,307,*54\n$BDGSV,5,2,20,07,12,179,31,08,79,182,29,09,60,273,,11,08,303,*63\n$BDGSV,5,3,20,16,64,323,,19,15,093,31,21,37,328,18,22,49,044,34*62\n$BDGSV,5,4,20,34,15,283,17,35,06,180,25,36,37,055,39,38,66,166,41*6D\n$BDGSV,5,5,20,39,62,336,,40,07,167,28,45,63,142,47,59,51,126,44*66\n$GLGSV,2,1,05,70,63,060,,76,56,119,38,79,,,34,65,29,055,30*55\n$GLGSV,2,2,05,88,25,215,*51\n$GNRMC,001745.000,A,2211.34101,N,11332.55860,E,0.00,225.75,110122,,,A*7A\n$GNVTG,225.75,T,,M,0.00,N,0.00,K,A*24\n$GPTXT,01,01,01,ANTENNA OK*35\n861213055928250$GNGGA,001745.500,2211.34101,N,11332.55860,E,1,27,0.6,48.2,M,0.0,M,,*46\n$GNGLL,2211.34101,N,11332.55860,E,001745.500,A,A*4E\n$GPGSA,A,3,05,12,15,18,24,25,32,193,194,195,199,,0.9,0.6,0.7*3A\n$BDGSA,A,3,01,04,07,08,19,21,22,34,35,36,38,40,0.9,0.6,0.7*21\n$GLGSA,A,3,76,65,,,,,,,,,,,0.9,0.6,0.7*24\n$GPGSV,4,1,14,05,06,122,27,10,34,329,,11,,,23,12,24,123,40*40\n$GPGSV,4,2,14,15,21,059,40,18,55,206,19,23,62,006,,24,53,039,31*7B\n$GPGSV,4,3,14,25,19,161,41,32,22,280,17,193,53,057,35,194,41,119,41*76\n$GPGSV,4,4,14,195,22,168,40,199,60,148,39*7A\n$BDGSV,5,1,20,01,46,122,39,03,,,31,04,32,110,35,06,64,307,*54\n$BDGSV,5,2,20,07,12,179,31,08,79,182,29,09,60,273,,11,08,303,*63\n$BDGSV,5,3,20,16,64,323,,19,15,093,31,21,37,328,18,22,49,044,34*62\n$BDGSV,5,4,20,34,15,283,17,35,06,180,25,36,37,055,39,38,66,166,41*6D\n$BDGSV,5,5,20,39,62,336,,40,07,167,28,45,63,142,47,59,51,126,44*66\n$GLGSV,2,1,05,70,63,060,,76,56,119,38,79,,,34,65,29,055,30*55\n$GLGSV,2,2,05,88,25,215,*51\n$GNRMC,001745.500,A,2211.34101,N,11332.55860,E,0.00,225.75,110122,,,A*7F\n$GNVTG,225.75,T,,M,0.00,N,0.00,K,A*24\n$GPTXT,01,01,01,ANTENNA OK*35\n861213055928250$GNGGA,001746.000,2211.34102,N,11332.55861,E,1,27,0.6,48.2,M,0.0,M,,*42\n$GNGLL,2211.34102,N,11332.55861,E,001746.000,A,A*4A\n$GPGSA,A,3,05,12,15,18,24,25,32,193,194,195,199,,0.9,0.6,0.7*3A\n$BDGSA,A,3,01,04,07,08,19,21,22,34,35,36,38,40,0.9,0.6,0.7*21\n$GLGSA,A,3,76,65,,,,,,,,,,,0.9,0.6,0.7*24\n$GPGSV,4,1,14,05,06,122,27,10,34,329,,11,,,23,12,24,123,40*40\n$GPGSV,4,2,14,15,21,059,40,18,55,206,19,23,62,006,,24,53,039,31*7B\n$GPGSV,4,3,14,25,20,161,42,32,22,280,17,193,53,057,35,194,41,119,41*7F\n$GPGSV,4,4,14,195,22,168,40,199,60,148,39*7A\n$BDGSV,5,1,20,01,46,122,39,03,,,31,04,32,110,35,06,64,307,*54\n$BDGSV,5,2,20,07,12,179,31,08,79,182,29,09,60,273,,11,08,303,*63\n$BDGSV,5,3,20,16,64,323,,19,15,093,31,21,37,328,18,22,49,044,34*62\n$BDGSV,5,4,20,34,15,283,17,35,06,180,28,36,37,055,39,38,66,166,41*60\n$BDGSV,5,5,20,39,62,336,,40,07,167,28,45,63,142,47,59,51,126,44*66\n$GLGSV,2,1,05,70,63,060,,76,56,119,38,79,,,34,65,29,055,30*55\n$GLGSV,2,2,05,88,25,215,*51\n$GNRMC,001746.000,A,2211.34102,N,11332.55861,E,0.00,225.75,110122,,,A*7B\n$GNVTG,225.75,T,,M,0.00,N,0.00,K,A*24\n$GPTXT,01,01,01,ANTENNA OK*35"
	//c := time.Tick(1 * time.Second)
	//for now := range c {
	//	glog.Info(now)
	//	if err := conn.SendPkg([]byte(str)); err != nil {
	//		glog.Error(err)
	//	}
	//}
	//for i:=0;i<10;i++{
	//	if i<10 {
	//		time.Sleep(5* time.Second)
			if err := conn.SendPkg([]byte(str)); err != nil {
				glog.Error(err)
			}
		//}else {
		//	break
		//}

	//}

}
